﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace FinalProject
{
    public class KinhNghiemLamViec
    {
        #region Attributes
        private string _ChucDanh;

        public string ChucDanh
        {
            get { return _ChucDanh; }
            set { _ChucDanh = value; }
        }
        private string _CongTy;

        public string CongTy
        {
            get { return _CongTy; }
            set { _CongTy = value; }
        }
        private RootObject _ChucVu;

        public RootObject ChucVu
        {
            get { return _ChucVu; }
            set { _ChucVu = value; }
        }
        private RootObject _NganhNghe;

        public RootObject NganhNghe
        {
            get { return _NganhNghe; }
            set { _NganhNghe = value; }
        }
        private DateTime _NgayBD;

        public DateTime NgayBD
        {
            get { return _NgayBD; }
            set { _NgayBD = value; }
        }
        private DateTime _NgayKT;

        public DateTime NgayKT
        {
            get { return _NgayKT; }
            set { _NgayKT = value; }
        }
        private string _NhiemVuVaThanhTich;

        public string NhiemVuVaThanhTich
        {
            get { return _NhiemVuVaThanhTich; }
            set { _NhiemVuVaThanhTich = value; }
        }
        #endregion

        public KinhNghiemLamViec()
        {
            this._CongTy = "";
            this._ChucDanh = "";
            this._ChucVu = new RootObject();
            this._NganhNghe = new RootObject();
            this._NhiemVuVaThanhTich = "";
        }

        public KinhNghiemLamViec(string congTy, string chucDanh, RootObject chucVu, RootObject nganhNghe, DateTime ngayBD, DateTime ngayKT, string nhiemVu)
        {
            this._CongTy = congTy;
            this._ChucDanh = chucDanh;
            this._ChucVu = chucVu;
            this._NganhNghe = nganhNghe;
            this._NgayBD = ngayBD;
            this._NgayKT = ngayKT;
            this._NhiemVuVaThanhTich = nhiemVu;
        }

        public KinhNghiemLamViec(KinhNghiemLamViec kinhNghiem)
        {
            this._CongTy = kinhNghiem._CongTy;
            this._ChucDanh = kinhNghiem._ChucDanh;
            this._ChucVu = kinhNghiem._ChucVu;
            this._NganhNghe = kinhNghiem._NganhNghe;
            this._NgayBD = kinhNghiem._NgayBD;
            this._NgayKT = kinhNghiem._NgayKT;
            this._NhiemVuVaThanhTich = kinhNghiem._NhiemVuVaThanhTich;
        }
    }
}
